<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        div {
            width: 300px;
            margin: 150px auto;
        }

        table {
            text-align: center;
        }
    </style>
</head>

<body>
    <div>
        <fieldset>
            <legend>联系</legend>
            <table>
                <tr>
                    <td><label for="name">姓名</label></td>
                    <td><input type="text" name="name" id="name"></td>
                </tr>
                <tr>
                    <td><label for="email">邮箱</label></td>
                    <td><input type="email" name="email" id="email"></td>
                </tr>
                <tr>
                    <td><label for="phoneNumber">电话</label></td>
                    <td><input type="text" name="phoneNumber" id="phoneNumber"></td>
                </tr>
                <tr>
                    <td><label for="item">主题</label></td>
                    <td><select name="item" id="">
                            <option value="">请选择</option>
                            <option value="">选项1</option>
                            <option value="">选项2</option>
                            <option value="">选项3</option>
                            <option value="">选项4</option>
                        </select></td>
                </tr>
                <tr>
                    <td><label for="">留言</label></td>
                    <td><textarea name="" id=""></textarea></td>
                </tr>
                <tr>
                    <td>文件</td>
                    <td><input type="file" name="" id=""></td>
                </tr>
                <tr>
                    <td colspan="2"><input type="button" name="" id="" value="提交"></td>
                </tr>
            </table>
        </fieldset>
    </div>
</body>

</html>